package com.ycz.springcloud.service;/*
 @author ycz
 @date 2021-08-19-13:40  
*/

import com.ycz.springcloud.common.Result;
import com.ycz.springcloud.domain.SysUser;
import com.ycz.springcloud.form.SysUserForm;
import com.ycz.springcloud.form.SysUserResetPwdForm;
import com.ycz.springcloud.query.BusCustomerQuery;
import com.ycz.springcloud.query.SysUserQuery;
import com.ycz.springcloud.vo.SysUserVo;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface SysUserService {



    Result queryPage(SysUserQuery query);

    List<SysUserVo> selectList(SysUserQuery query);


    SysUser queryUserByName(String username);

    Result add(SysUserForm sysUserForm);

    List<SysUserVo> selectList2(SysUserQuery query);

    Integer getUserCount(SysUserQuery query);

    void exportUser(SysUserQuery query, HttpServletResponse response) throws IOException;

    void batchInsert(List<SysUserVo> sysUserVos);

    void deleteUser(List<Integer> ids);

    Result updatePassword(SysUserResetPwdForm form);

}
